package com.buaa.aimall.goodsModule.Converter;

import com.buaa.aimall.goodsModule.DTO.CreateOrderDTO;
import com.buaa.aimall.goodsModule.Entity.GoodsOrderEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
@Mapper
public interface OrderConvert {
    OrderConvert INSTANCE = Mappers.getMapper(OrderConvert.class);

    GoodsOrderEntity dtoToEntity(CreateOrderDTO dto);
}
